package cn.stylefeng.guns.modular.fruits.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * <p>
 * 客户管理
 * </p>
 *
 * @author zhucx
 * @since 2022-06-14
 */
@TableName("fruits_basic_customer")
@Data
public class FruitsBasicCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 渠道id
     */
    @TableField("channel_id")
    private Long channelId;

    /**
     * 销售渠道
     */
    @TableField("channel_name")
    private String channelName;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 客户地址
     */
    @TableField("customer_address")
    private String customerAddress;

    /**
     * 联系人
     */
    @TableField("contacts")
    private String contacts;

    /**
     * 联系电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 结算方式
     */
    @TableField("settlement_method")
    private String settlementMethod;

    /**
     * 销售平台
     */
    @TableField("channel_platform")
    private String channelPlatform;

    /**
     * 发货方式
     */
    @TableField("transport_model")
    private String transportModel;

    /**
     * 经营范围
     */
    @TableField("ranges")
    private String ranges;

    /**
     * 行业类型
     */
    @TableField("industry")
    private String industry;

    /**
     * 所属省份
     */
    @TableField("provinces")
    private String provinces;

    /**
     * 所在城市
     */
    @TableField("ciywhere")
    private String ciywhere;

    /**
     * 开户行
     */
    @TableField("banks")
    private String banks;

    /**
     * 银行账号
     */
    @TableField("bankaccount")
    private String bankaccount;

    /**
     * 社会统一信用代码
     */
    @TableField("creditcode")
    private String creditcode;

    /**
     * 描述
     */
    @TableField("details")
    private String details;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "FruitsBasicCustomer{" +
        "id=" + id +
        ", channelId=" + channelId +
        ", channelName=" + channelName +
        ", customerName=" + customerName +
        ", customerAddress=" + customerAddress +
        ", contacts=" + contacts +
        ", tel=" + tel +
        ", settlementMethod=" + settlementMethod +
        ", channelPlatform=" + channelPlatform +
        ", transportModel=" + transportModel +
        ", ranges=" + ranges +
        ", industry=" + industry +
        ", provinces=" + provinces +
        ", ciywhere=" + ciywhere +
        ", banks=" + banks +
        ", bankaccount=" + bankaccount +
        ", creditcode=" + creditcode +
        ", details=" + details +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
